import React from 'react';
import { View, Text } from 'react-native';

export function DetailPage({route, navigation}) {
    const name = route.params.otherParams

    return (
        <View>
            <Text style={{color:'black'}}>123123123</Text>
            <Text style={{color: 'red', fontSize: 14}}>{name}</Text>
        </View>
    );
}